<?php 
header('Content-Type:text/html;charset=gbk');
require_once("db_manage.php");
require_once '../bbs/include/common.inc.php';

$module = $_GET['module'];
$id = $_GET['id'];
$turn = $_GET['turn'];

if($module=='suggest'){
	turnSuggest($id,$turn);
	echo "<script>location.href='manage_home_fspecial.php';</script>";
}else if($module=='favorite'){
	turnFavorite($id,$turn);
	echo "<script>location.href='manage_home_favorite.php';</script>";
}else if($module=='subject'){
	turnSubject($id,$turn);
	echo "<script>location.href='manage_home_special.php';</script>";
}else if($module=='bbs_top'){
	turnBbsTop($id,$turn);
	echo "<script>location.href='manage_home_bbs_top.php';</script>";
}else if($module=='pic'){
	turnPic($id,$turn);
	echo "<script>location.href='manage_home_pic.php';</script>";
}else if($module=='travel'){
	turnTravel($id,$turn);
	echo "<script>location.href='manage_home_information.php';</script>";
}else if($module=='food'){
	turnFood($id,$turn);
	echo "<script>location.href='manage_home_information.php';</script>";
}
?>